from ttorm.core.management.base import AppCommand

class Command(NoArgsCommand):
    help = "Prints the CREATE TABLE SQL statements for the given app name(s)."

    output_transaction = True

    def handle_noargs(self, **options):
        from ttorm.core.management.sql import sql_create
        return '\n'.join(sql_create(self.style))
